#! /bin/sh

# Set nice background.
# xsetroot -solid grey20
nitrogen --restore 

# Set nice pointer cursor.
xsetroot -cursor_name plus -fg white -bg black

# Load resources.
xrdb -load ~/.Xresources

# Start window manager in the background. If it dies, X still lives.
# mcwm &

# If you want to allow windows to be hidden, use this instead:
mcwm -i &

# Start compositor, for special effects
compton -C -c -f -i 0.8 &
# Start system tray
stalonetray -t --sticky true --window-layer top --dockapp-mode simple &
# Start Wi-Fi icon
nm-applet &
# Start Volume Icon
volumeicon &
# Start Bluetooth icon
blueman-applet &
# Start input method
fcitx &

# Basic apps
gajim & ekiga &
icecat &
hexchat & mumble &

# Start a terminal in the foreground. If this dies, X dies.
exec urxvt
